package be.tihh.mgmt.gui.util;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA.
 * User: Johan Claes
 * Date: 3/06/13
 * Time: 17:02
 * To change this template use File | Settings | File Templates.
 */
public class IconFactory {

    public static String REFRESH = "arrow_refresh.png";

    public static Icon getIcon(String iconName){
        String iconFileName = "res\\icons\\" + iconName;
        System.out.println("iconFileName = " + iconFileName);
        return new ImageIcon(iconFileName);
    }

}
